angular.module('payPcApp')
    .factory('hotlend_model', ['$http', 'AppConfig', '$location', function($http, AppConfig, $location) {

        var gethotlend = function(param) {
            var url = AppConfig.WEB_ROOT + 'bookLend/maxBorrowed';
            return $http.get(url, null, {

            });
        };
        var gethotcol = function() {
            var url = AppConfig.WEB_ROOT + 'bookShelf/maxCollect';
            return $http.get(url, null, {

            });
        }
        return {
            gethotlend: gethotlend,
            gethotcol: gethotcol
        };
    }])